import request from '@/utils/request'

// 查询项目流程通用申请单详细
export function getDealWfGeneral(id) {
  return request({
    url: '/general/dealWfGeneral/' + id,
    method: 'get'
  })
}

// 根据流程节点ID初始化记录
export function getByWfNodeId(wfNodeId) {
  return request({
    url: '/general/dealWfGeneral/getByWfNodeId/' + wfNodeId,
    method: 'get'
  })
}

// 保存项目流程通用申请单
export function saveDealWfGeneral(data) {
  return request({
    url: '/general/dealWfGeneral/save',
    method: 'post',
    data: data
  })
}

